package edu.uni.dormitory.bean;

import java.util.Date;
//换宿舍
public class ExchangeApply {
    private Long id;

    private String reason;

    private Long applyPerson;

    private Date applyDate;

    private Long approvalMainId;

    private Date datetime;

    private Long byWho;

    private Byte deleted;

    @Override
    public String toString() {
        return "ExchangeApply{" +
                "id=" + id +
                ", reason='" + reason + '\'' +
                ", applyPerson=" + applyPerson +
                ", applyDate=" + applyDate +
                ", approvalMainId=" + approvalMainId +
                ", datetime=" + datetime +
                ", byWho=" + byWho +
                ", deleted=" + deleted +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason == null ? null : reason.trim();
    }

    public Long getApplyPerson() {
        return applyPerson;
    }

    public void setApplyPerson(Long applyPerson) {
        this.applyPerson = applyPerson;
    }

    public Date getApplyDate() {
        return applyDate;
    }

    public void setApplyDate(Date applyDate) {
        this.applyDate = applyDate;
    }

    public Long getApprovalMainId() {
        return approvalMainId;
    }

    public void setApprovalMainId(Long approvalMainId) {
        this.approvalMainId = approvalMainId;
    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    public Long getByWho() {
        return byWho;
    }

    public void setByWho(Long byWho) {
        this.byWho = byWho;
    }

    public Byte getDeleted() {
        return deleted;
    }

    public void setDeleted(Byte deleted) {
        this.deleted = deleted;
    }
}